﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/layout.Master" AutoEventWireup="true" CodeBehind="RSEstimateDetail2.aspx.cs" Inherits="mojoPortal.Web.RS.SBM.RSEstimateDetail2" %>
<%@ Register Src="controls/Estimatecontrol.ascx" TagName="EstimateControl" TagPrefix="uc1" %>
<%@ Register Src="controls/Estimatetasklistcontrol.ascx" TagName="EstimateTaskListControl" TagPrefix="uc1" %>
<%@ Register Src="controls/Estimatepartlistcontrol.ascx" TagName="EstimatePartListControl" TagPrefix="uc1" %>
<%@ Register Src="~/rs/controls/modalactionmessagecontrol.ascx" TagName="ModalActionMessageControl" TagPrefix="uc1" %>
<%@ Register Src="controls/locationheadercontrol.ascx" TagName="LocationHeaderControl" TagPrefix="uc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="leftContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">

<uc1:LocationHeaderControl ID="ucLocationHeaderControl" runat="server"/>

<%--<center>
<asp:UpdateProgress ID="UpdateProgress" runat="server" >
<ProgressTemplate>
    <asp:Image ID="imgLoading" runat="server" ImageUrl="~/RS/Images/loading-spiral.gif" />
</ProgressTemplate>
</asp:UpdateProgress>
</center>--%>
<br />

<ajaxToolkit:TabContainer ID="tcEstimateDetail" runat="server" ScrollBars="Auto" ActiveTabIndex="0" CssClass="fancy" Width="100%">
<ajaxToolkit:TabPanel ID="tpEstimateDetail" runat="server" HeaderText="Estimate Detail" Enabled="true">
    <ContentTemplate>
         <br />
        <asp:Panel id="pnlEstimateDetail" runat="server">
            <uc1:EstimateControl ID="ucEstimateControl" runat="server" />
        </asp:Panel>
    </ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="tpEstimateTasks" runat="server" HeaderText="Tasks" Enabled="true">
    <ContentTemplate>
         <br />
         <div align="right"><asp:Label ID="lblEstimateTask" runat="server" Font-Bold="True"></asp:Label></div>
        <asp:Panel id="pnlTasks" runat="server">
        <uc1:EstimateTaskListControl ID="ucEstimateTaskListControl" runat="server" />
        <br />
        </asp:Panel>

    </ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="tpEstimateParts" runat="server" HeaderText="Parts">
    <ContentTemplate>
        <br />
        <div align="right"><asp:Label ID="lblEstimatePart" runat="server" Font-Bold="True"></asp:Label></div>
        <asp:Panel id="pnlParts" runat="server">
        <uc1:EstimatePartListControl ID="ucEstimatePartListControl" runat="server" />
        <br />
        </asp:Panel>
    </ContentTemplate> 
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>

<%--
<ajaxToolkit:Accordion 
    ID="Accordion1"
    runat="Server"
    SelectedIndex="0"
    HeaderCssClass="accordionHeader"
    HeaderSelectedCssClass="accordionHeaderSelected"
    ContentCssClass="accordionContent"
    AutoSize="None"
    FadeTransitions="true"
    TransitionDuration="250"
    FramesPerSecond="40"
    RequireOpenedPane="false"
    SuppressHeaderPostbacks="False">
    <Panes>
        <ajaxToolkit:AccordionPane runat="server" 
            HeaderCssClass="accordionHeader"
            HeaderSelectedCssClass="accordionHeaderSelected"
            ContentCssClass="">
            <Header>
            <table width="100%">
            <tr>
            <td align="left" width="45%">Click Here To View Tasks</td>
            <td align="left" width="100%"><font size="3">Estimate Tasks</font></td>
            </tr>
            </table>
            </Header>
            <Content> 
                <asp:Panel ID="pnlTasks" runat="server" Width="90%">
                    <br />
                    <asp:Button ID="btnAddEstimateTask" runat="server" Text="Add Task To Estimate" onclick="btnAddTask_Click" CausesValidation="false"/>
                    <uc1:EstimateTaskListControl ID="ucEstimateTaskListControl" runat="server" />
                    <br />
                </asp:Panel>
            </Content>
        </ajaxToolkit:AccordionPane>        
        <ajaxToolkit:AccordionPane ID="AccordionPane1" runat="server" 
            HeaderCssClass="accordionHeader"
            HeaderSelectedCssClass="accordionHeaderSelected"
            ContentCssClass="">
            <Header>
            <table width="100%">
            <tr>
            <td align="left" width="45%">Click Here To View Parts</td>
            <td align="left" width="100%"><font size="3">Estimate Parts</font></td>
            </tr>
            </table>            
            </Header>
            <Content>
                <asp:Panel ID="pnlParts" runat="server" Width="90%">
                    <br />
                    <asp:Button ID="btnAddEstimatePart" runat="server" Text="Add Parts To Estimate" OnClick="btnAddParts_Click" CausesValidation="false"/>
                    <uc1:EstimatePartListControl ID="ucEstimatePartListControl" runat="server" />
                    <br />
                </asp:Panel>
            </Content>
        </ajaxToolkit:AccordionPane>   
    </Panes>            
    <HeaderTemplate>...</HeaderTemplate>
    <ContentTemplate>...</ContentTemplate>
</ajaxToolkit:Accordion>  --%>              
    
<uc1:ModalActionMessageControl ID="ucModalActionMessageControl" runat="server"/>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="rightContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pageEditContent" runat="server">
</asp:Content>
